package xyz.zdsoft.common_module.mapper;

import org.apache.ibatis.annotations.Mapper;
import xyz.zdsoft.common_module.mapper.result.*;

import java.util.List;

@Mapper
public interface CommonMapper {


    List<Course> getCourse(String userId);

    List<Teacher> getTeacher(String teacherName);

    List<Team> getTeam();

    List<College> getCollege();

    List<Major> getMajor(Integer collegeId);

    List<Grade> getGrade();

    List<ClassInfo> getClassInfo();

    Pass selectPassById(Integer userId);

    int updatePassword(String password,Integer userId);

}
